]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
panel: Remove unused method
authorRui Matos <tiagomatos@gmail.com>
Thu, 13 Dec 2012 20:37:09 +0000 (21:37 +0100)
committerRui Matos <tiagomatos@gmail.com>
Fri, 4 Jan 2013 13:35:47 +0000 (13:35 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=690180

js/ui/panel.js

index 76bbfb0807aa844d45821617ee28d9cf8c1890c5..3845dd0bbd1a31c1c6da22b85fdf67ad106d27de 100644 (file)
@@ -1148,18 +1148,6 @@ const Panel = new Lang.Class({
             this._addStyleClassName(this._sessionStyle);
     },
 
-    _initBox: function(elements, box) {
-        for (let i = 0; i < elements.length; i++) {
-            let role = elements[i];
-            let constructor = PANEL_ITEM_IMPLEMENTATIONS[role];
-            if (!constructor) {
-                // panel icon is not supported (can happen for
-                // bluetooth or network)
-                continue;
-            }
-        }
-    },
-
     _hideIndicators: function() {
         for (let role in PANEL_ITEM_IMPLEMENTATIONS) {
             let indicator = this.statusArea[role];